package com.example.teachingSystem.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.teachingSystem.pojo.entity.Semester;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.teachingSystem.pojo.vo.OptionVo;
import com.example.teachingSystem.pojo.vo.SemesterVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 86147
* @description 针对表【semester(学期表)】的数据库操作Mapper
* @createDate 2023-12-10 23:58:05
* @Entity com.example.teachingSystem.pojo.entity.Semester
*/
@Mapper
public interface SemesterMapper extends BaseMapper<Semester> {
    IPage<SemesterVo> getSemesterPage(Page<Semester> page);

    List<OptionVo> getSemesterOptions();
}




